/** @param {string} date */
export const getDate = (date) => {
	const [month, year] = date.split("-").map((n) => parseInt(n, 10))
	return new Date(year, month - 1, 1)
}
